﻿///<reference path="../../scripts/jquery-1.4.4.min.js" />
///<reference path="../../kooboo/kooboo.form.js" />


$(function () {
    $(".delete-form").submit(function (e) {
        var row = $(this).parents("tr;first");
        e.preventDefault();
        $(this).ajaxPost({
            success: function () {
                row.remove();
            }
        });
        return false;
    });
});